using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SmartApplication.Domain.Entity
{
    /// <summary>
    /// 食品安全图片
    /// </summary>
    [Table("FoodSafetyMode")]
    public class FoodSafetyMode : BaseEntity
    {
        /// <summary>
        /// 深加工编号
        /// </summary>
        [Required]
        public long ProcessingId { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        [Required]
        [StringLength(500)]
        public string Pic { get; set; }

    }
} 